package com.zhaolulu.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import com.zhaolulu.pojo.User;

/**
* @author 荒漠中的浮尘
* @description 针对表【tb_user】的数据库操作Mapper
* @createDate 2024-09-15 20:57:24
* @Entity zhao.lulu.pojo.User
*/
@Mapper
public interface UserMapper extends BaseMapper<User> {
    @Select("select * from tb_user where id = #{id}")
    User findById(@Param("id") Long id);

}




